﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace CashOrCard.Models
{
    public class SitePage
    {
        [Key]
        public int SitePageId { get; set; }
        public string SitePageTitle { get; set; }
        public string SitePageSubTitle { get; set; }
        public string SitePageBody { get; set; }

        public int UserId { get; set; }
        [ForeignKey("UserId")]
        public virtual User User { get; set; }

        public DateTime CreateDate { get; set; }
        public DateTime UpdateDate { get; set; }
        public bool IsEnable { get; set; }
    }
}